﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using PatternWell.PAC;

namespace $rootnamespace$
{
    /// <summary>
    /// View model implementation for '$safeitemname$'
    /// </summary>
    public partial class $safeitemname$:NotificationBase,IViewModel
    {
        #region Dispose Implementation - Implementation of the disposal helper method (Do not modify)

        /// <summary>
        /// Helper method that releases resources for this class implementation.
        /// </summary>
        /// <param name="disposed">flag that determines if the class has already been disposed.</param>
        protected override void Dispose(bool disposed)
        {
            ReleaseResourcesFor$safeitemname$();
            base.Dispose(disposed);
        }

        #endregion

        #region Release Management - Logic used to release resources for this class (Add release logic in the supplied helper methods)

        /// <summary>
        /// Helper method that releases resource for the '$safeitemname$' class.
        /// </summary>
        private void ReleaseResourcesFor$safeitemname$()
        {
            //TODO: $safeitemname$ - Add Release Logic Here
            //Release all properties here
        }

        #endregion

        //TODO:$safeitemname$ - Implement View Model
        //Use the pacPropNotify snippet to add the properties to view model.

    }
}
